package com.t235.gc.entity;

import lombok.ToString;

import java.util.Date;
import java.io.Serializable;

/**
 * 用户表(Users)实体类
 *
 * @author makejava
 * @since 2021-03-24 08:45:44
 */
@ToString
public class Users implements Serializable {
    private static final long serialVersionUID = -97192447962262616L;
    /**
     * 用户主键
     */
    private Long userid;
    /**
     * 用户昵称
     */
    private String nickname;
    /**
     * 用户头像
     */
    private String avatarurl;
    /**
     * 用户联系方式
     */
    private String userphone;
    /**
     * 性别【0:未知 1:男 2:女】
     */
    private Integer gender;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 微信公众号openId
     */
    private String openid;
    /**
     * 用户状态  1.禁用 2.正常
     */
    private Integer isflag;
    /**
     * 创建时间
     */
    private Date ctime;


    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatarurl() {
        return avatarurl;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getIsflag() {
        return isflag;
    }

    public void setIsflag(Integer isflag) {
        this.isflag = isflag;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

}
